package com.biz.primus.management.depot.degraded;

import com.biz.primus.common.vo.SpringPageVO;
import com.biz.primus.management.depot.feign.DepotFeignClient;
import com.biz.primus.model.depot.enums.BusinessStatus;
import com.biz.primus.model.depot.vo.DepotDetailRespVo;
import com.biz.primus.model.depot.vo.DepotListRespVo;
import com.biz.primus.model.depot.vo.DepotQueryReqVo;
import com.biz.primus.model.depot.vo.DepotRespVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Optional;

/**
 * @Auther JKLiues
 * @Date 2017/9/21
 */
@Component
@Slf4j
public class DegradedDepotFeignClient implements DepotFeignClient {


    @Override
    public SpringPageVO<DepotListRespVo> searchDepots(DepotQueryReqVo reqVo) {
        return new SpringPageVO<>();
    }


    @Override
    public Optional<DepotRespVo> getDepotByDepotCode(String depotCode) {
        return Optional.empty();
    }

    @Override
    public void updateBusinessStatus(Long depotId, BusinessStatus businessStatus) {

    }

    @Override
    public DepotDetailRespVo findByIdFDb(Long depotId) {
        return new DepotDetailRespVo();
    }
}
